package com.ebraga.trackerclub.android.handler.service;

import com.ebraga.trackerclub.android.handler.core.RankingHandlerImpl;
import com.ebraga.trackerclub.android.manager.api.RankingManager;
import com.ebraga.trackerclub.android.manager.service.RankingServiceManager;
import com.ebraga.trackerclub.android.util.api.AndroidContext;

public class RankingServiceHandler extends RankingHandlerImpl{

	public RankingServiceHandler(AndroidContext context) {
		String enviroment = System.getProperty("Enviroment");
				
		if( enviroment==null || !enviroment.equals("UNIT_TEST") ) {			
			setRankingManager( new RankingServiceManager(context) );
		}
	}
	
	public void setRankingManager (RankingManager rankingManager){
		super.setRankingManager(rankingManager);
	}
	

}
